package org.example.work3.gateway;


import org.example.work3.gateway.config.MyLoadBalancerConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;

/**
 * 网关应用
 *
 * @author xh
 * @date 2023/04/24
 */
@SpringBootApplication
@EnableConfigurationProperties
//@LoadBalancerClient(name = "order-service", configuration = MyLoadBalancerConfig.class)
public class GateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GateWayApplication.class, args);
    }
}